import { network } from '@/utils';
import { TableListParams } from './data';

import { basic } from '../../../../../config/Apis';

export async function querypropertyCompanyList(params: any) {
  return network.get(basic.property, { params });
}

export async function saveProperty(params: TableListParams | any) {
  return network.post(basic.property, { data: params });
}

export async function updateProperty(params: TableListParams | any) {
  return network.put(basic.property, { data: params });
}
